// 处理token不持久问题

// 存储token
export const setToken= (token) =>{
  localStorage.setItem("TOKEN",token)
}

// 获取token
export const getKoken = () =>{
  return localStorage.getItem('TOKEN')
}

// 清除本地token
export const removeToken = () =>{
  localStorage.removeItem("TOKEN")
}